package com.ldk.framework.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.ldk.base.framework.entity.BaseEntity;

/**
 * ServiceConfigArea实体类
 *
 * @author mqy
 */
public class ServiceConfigArea extends BaseEntity {

    private static final long serialVersionUID = -7184825307702631666L;
    /**
     * id
     */
    private Long id;
    /**
     * 服务业务ID,外键,引用ldk_service_config
     */
    private Long serviceId;
    /**
     * 配置信息,以JSON格式存放
     */
    private String otherConfig;
    /**
     * 地区id,外键,引用ldk_area
     */
    private Long areaId;
    /**
     * 操作时间
     */
    private Long operateTime;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 是否启用1启用0禁用
     */
    @JSONField(serialize=false)
    private java.lang.Boolean   enabled;

    /**
     * 关联的服务业务
     */
    @JSONField(serialize = false)
    private ServiceConfig serviceConfig;

    /**
     * 关联的区域
     */
    @JSONField(serialize = false)
    private Area area;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public String getOtherConfig() {
        return otherConfig;
    }

    public void setOtherConfig(String otherConfig) {
        this.otherConfig = otherConfig;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Long operateTime) {
        this.operateTime = operateTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public java.lang.Boolean getEnabled() {
        return enabled;
    }
    public void setEnabled (java.lang.Boolean enabled){
        this.enabled = enabled;
    }


    public ServiceConfig getServiceConfig() {
        return serviceConfig;
    }

    public void setServiceConfig(ServiceConfig serviceConfig) {
        this.serviceConfig = serviceConfig;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }
}
